 <meta charset="utf-8">
<script src="js/jquery.js"> </script>	
<link rel="stylesheet" href="css/csstb.css" type="text/css" media="screen" />
<form action="Javascript:insertdeli();" name="deli_pop" id="deli_pop" method="post">
<?php
require("db/connect.php");
require("funcsubstr.php");
require("prename.php");
$sqlselectproduct="select * from product where pro_id=".$_GET["product"];
$queryselectproduct=mysql_query($sqlselectproduct);
//$sqlcust="select * from orders,cart,product,customer where orders.orders_id=cart.orderid and cart.pro_id=product.pro_id and customer.cus_id =orders.cus_id and  orders.orders_id=".$_GET["order"]."  ";
//$querycust=mysql_query($sqlcust);
//$fetch_cust=mysql_fetch_array($querycust);

//$sql="select * from orders,cart,product where orders.orders_id=cart.orderid and cart.pro_id=product.pro_id and  orders.orders_id=".$_GET["order"]."";
//$query=mysql_query($sql);


//$sqldeli="select * from delivery where orders_id=".$_GET["order"]."";
//$querydeli=mysql_query($sqldeli);
//$resultdeli=mysql_fetch_array($querydeli);

 ?>
 <style>
 body {
	 
    /*background-image :url("img/pyk.jpg");
    background-repeat: no-repeat;
    background-position:top;*/
}
</style>
 <div align="center"><img src="img/pyk.JPG"  width="330" height="240" /></div>
 <table border="1">
	<tr>
	<td>รหัสสินค้า</td>
	<td>ชื่อสินค้า</td>
	<td>ราคา(หน่วย)</td>
	<td>รายละเอียดสินค้า</td>
	</tr>
      <?php 
	  $countX=0;
  while($resultproduct=mysql_fetch_array($queryselectproduct)){
  ?>
	<tr>
	<td><?php echo $resultproduct["pro_id"];?></td>
	<td><?php echo $resultproduct["pro_name"];?></td>
	<td style="text-align:right"><?php echo $resultproduct["pro_price"];?></td>
	<td><?php echo $resultproduct["pro_detail"];?></td>
	</tr>
	<?php     $countX++;}?>
	</table>
  
</form>